package com.matriq.cloudmanager.entity;

/*
 * 班级信息
 */
public class ClassInfo {
	String num;// 序号//int
	String classname;// 班级名称
	String teacher;// 班主任
	String department;// 部门
	String job;// 职务
	String roomNum;// 房间号
	String phone;// 房间电话号码
	String mphone;// 移动电话
	String mail;// 电子邮件

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public String getTeacher() {
		return teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getRoomNum() {
		return roomNum;
	}

	public void setRoomNum(String roomNum) {
		this.roomNum = roomNum;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMphone() {
		return mphone;
	}

	public void setMphone(String mphone) {
		this.mphone = mphone;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public ClassInfo() {
		super();
	}

	public ClassInfo(String num, String classname, String teacher, String department, String job, String roomNum,
			String phone, String mphone, String mail) {
		super();
		this.num = num;
		this.classname = classname;
		this.teacher = teacher;
		this.department = department;
		this.job = job;
		this.roomNum = roomNum;
		this.phone = phone;
		this.mphone = mphone;
		this.mail = mail;
	}

	public com.matriq.cloudmanager.entity.db.ClassInfo toObj(){
		return new com.matriq.cloudmanager.entity.db.ClassInfo(num, classname, teacher, department, job, roomNum, phone, mphone, mail);
	}
	
}
